package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * 心理咨询文章视图对象 p_article
 *
 * @author ruoyi
 * @date 2022-07-28
 */
@Data
@ApiModel("心理咨询文章视图对象")
@ExcelIgnoreUnannotated
public class PArticleVo {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    @ApiModelProperty("")
    private Long id;

    /**
     * 文章标题
     */
    @ExcelProperty(value = "文章标题")
    @ApiModelProperty("文章标题")
    private String title;

    /**
     * 发布人id
     */
    @ExcelProperty(value = "发布人id")
    @ApiModelProperty("发布人id")
    private Long userId;

    /**
     * 阅读人数
     */
    @ExcelProperty(value = "阅读人数")
    @ApiModelProperty("阅读人数")
    private Integer readNum;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    @ApiModelProperty("内容")
    private String info;

    /**
     * 审核状态 0 待审批 1 未通过 2 通过
     */
    @ExcelProperty(value = "审核状态 0 待审批 1 未通过 2 通过")
    @ApiModelProperty("审核状态 0 待审批 1 未通过 2 通过")
    private String status;

    /**
     * 分类id
     */
    @ExcelProperty(value = "分类id")
    @ApiModelProperty("分类id")
    private Long categoryId;

    @ApiModelProperty(value = "封面")
    private String pic;

    @ApiModelProperty(value = "封面路径")
    private String fileName;

    @ApiModelProperty(value = "发布人头像")
    private String avatar;

    @ApiModelProperty(value = "发布人用户名")
    private String username;

    @ApiModelProperty(value = "分类标题")
    private String category;
}
